import { makeSetter } from '../utils'

export default {
  '@init'({ style }) {
    style.width = '100%'
    style.height = '400px'
  },
  '@resize': {
    options: ['width', 'height']
  },
  ':root': ({ data, slot, env }: any, cate1) => {
    cate1.items = [
      {
        title: '视频路径',
        type: 'text',
        value: makeSetter('src')
      }
    ]
  }
}
